package com.one.common.model.bean;

import com.one.common.view.addresspick.CityInterface;
import com.one.common.view.multitytype.adapter.BaseItem;

import java.util.ArrayList;
import java.util.List;

/**
 * creator: zhulunjun
 * time:    2018/8/6
 * describe:
 */
public class CityBean extends BaseItem implements CityInterface {

    /**
     * cityBeans : []
     * create_time :
     * first_pingyin :
     * full_pinyin :
     * id : 10
     * is_check :
     * is_delete :
     * name : 东城区
     * parent_id : 9
     */

    private String create_time;
    private String first_pingyin;
    private String full_pinyin;
    private int id;
    private String is_check;
    private String is_delete;
    private String name;
    private String parent_id;
    private ArrayList<CityBean> cityBeans;

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getFirst_pingyin() {
        return first_pingyin;
    }

    public void setFirst_pingyin(String first_pingyin) {
        this.first_pingyin = first_pingyin;
    }

    public String getFull_pinyin() {
        return full_pinyin;
    }

    public void setFull_pinyin(String full_pinyin) {
        this.full_pinyin = full_pinyin;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIs_check() {
        return is_check;
    }

    public void setIs_check(String is_check) {
        this.is_check = is_check;
    }

    public String getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(String is_delete) {
        this.is_delete = is_delete;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParent_id() {
        return parent_id;
    }

    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
    }

    public ArrayList<CityBean> getCityBeans() {
        return cityBeans;
    }

    public void setCityBeans(ArrayList<CityBean> cityBeans) {
        this.cityBeans = cityBeans;
    }

    @Override
    public String toString() {
        return "CityBean{" +
                "create_time='" + create_time + '\'' +
                ", first_pingyin='" + first_pingyin + '\'' +
                ", full_pinyin='" + full_pinyin + '\'' +
                ", id=" + id +
                ", is_check='" + is_check + '\'' +
                ", is_delete='" + is_delete + '\'' +
                ", name='" + name + '\'' +
                ", parent_id='" + parent_id + '\'' +
                ", cityBeans=" + cityBeans +
                '}';
    }

    @Override
    public String getCityName() {
        return name;
    }
}
